<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <?php echo $this->Html->charset(); ?>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <!--[if gt IE 8]>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <![endif]-->
    <title>
        <?php echo $title_for_layout; ?>
    </title>
    <?php
    echo $this->Html->meta('icon');

    echo $this->Html->css('style');
    echo $this->Html->css('reset');
    echo $this->Html->css('general');
    echo $this->Html->css('styles/default/ui');
    echo $this->Html->css('forms');
    echo $this->Html->css('tables');
    echo $this->Html->css('messages');
    

    
    
    ?>
    <!--[if lt IE 8]><?php echo $this->Html->css('ie7') ?><![endif]-->
    <?php
    echo $this->Html->script('jquery-1.3.2.js');
    echo $this->Html->script('superfish.js');
    echo $this->Html->script('jquery-ui-1.7.2.js');
    echo $this->Html->script('tooltip.js');
    echo $this->Html->script('tablesorter.js');
    echo $this->Html->script('tablesorter-pager.js');
    echo $this->Html->script('cookie.js');
    echo $this->Html->script('custom.js');
    
    echo $scripts_for_layout;
    ?>
</head>
    <body>
        <div class="wrapper">
            <div id="header">
            <?php echo $this->element('header'); ?>
            <?php //echo $this->element('menu'); ?>
            
            </div>
            <div class="content">
                  <div id="page-wrapper" style="padding-left: 250px;">
              

                <?php echo $this->fetch('content'); ?>
                
                <?php //echo $this->element('side_bar'); ?>
               
               
                  </div>
            </div>
             <?php echo $this->element('footer'); ?>
           
        </div> 
      
        <?php //echo $this->element('sql_dump'); ?>
    </body>  
</html>


<style>
A.applink:hover {border: 2px dotted #DCE6F4;padding:2px;background-color:#ffff00;color:green;text-decoration:none}
A.applink       {border: 2px dotted #DCE6F4;padding:2px;color:#2F5BFF;background:transparent;text-decoration:none}
A.info          {color:#2F5BFF;background:transparent;text-decoration:none}
A.info:hover    {color:green;background:transparent;text-decoration:underline}
</style>